<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
	<head>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
		<title>
			<%= yield(:title) ? h(yield(:title)) : "Posts &bull; " + controller.action_name %>
		</title>
		<%= stylesheet_link_tag 'scaffold',
			#jQuery :ui
			'black-tie/jquery-ui'
		%>
		<%= auto_discovery_link_tag :atom, posts_path(:atom) %>
		<%=
			javascript_include_tag 'application',
			#prototype + scriptaculous :all
				'prototype', 'scriptaculous', 'unittest',
			#jQuery :ui, :rails
				'jquery', 'jquery-history', 'jquery-ui', 'jrails'
		%>
		<script type="text/javascript">
			jQuery.noConflict(); //jQuery & Prototype (remote_form_for)
		</script>
	</head>
	<body>
		<p style="color: green;">
			<%

		#if logged_in?
		#	Bonjour <%= current_user.username %> ! Ce n'est pas vous?
		#		<%= link_to "Se d&eacute;connecter", logout_path %>
		#	<% else %>
		#		<%= link_to "S'enregistrer", signup_path %> &bull;
		#		<%= link_to "Se connecter", login_path %>.
		#	<% end
		%>
		</p>
		<p style="color: green;"><% #Green xD
		%>
			<%= flash[:notice] %>
		</p>
		<%= yield %>
	</body>
</html>